import request from './../utils/request';


//公司订单列表
export function getCompanyOrderList(data) {
	return request({
		url: '/api/Orders/CompanyOrderList',
		method: 'GET',
		data
	})
}

// 编辑发货地址
export function UpdateAddress(data) {
	return request({
		url: '/api/Orders/UpdateAddress',
		method: 'PUT',
		data
	})
}

//评价内容
export function getEvaluation(params) {
	return request({
		url: '/api/Evaluation/GetEvaluationByOrderNo?orderNo=' + params.orderNo,
		method: 'get'
	})
}

// 服务评价
export function addEvaluation(data) {
	return request({
		url: '/api/Evaluation/Add',
		method: 'POST',
		data
	})
}


// 用户反馈
export function addFeedback(data) {
	return request({
		url: '/api/Feedback/Add',
		method: 'POST',
		data
	})
}

//订单详情
export function QueryOrderDetail(params) {
	return request({
		url: '/api/Orders/QueryOrderDetail?orderNo='+params.orderNo,
		method: 'GET',
	})
}

//报告下载地址
export function GetReport(params) {
	return request({
		url: '/api/Orders/GetReport?orderNo='+params.orderNo,
		method: 'GET',
	})
}

// 查看图片
export function GetPicTure_New(params) {
	return request({
		url: '/api/Orders/GetPicTure_New?orderNo='+params.orderNo,
		method: 'GET',
	})
}

//在线验标价格查询
export function GetVerificationPrice(params) {
	return request({
		url: '/api/Orders/GetVerificationPrice',
		method: 'GET',
	})
}

//催检测
export function UrgentTesting(params) {
	return request({
		url: '/api/Orders/UrgentTesting?orderNo='+params.orderNo,
		method: 'GET',
	})
}
